#include "command.hpp"

int main()
{
    int fd = open("fifo", O_WRONLY);
    int cnt = 10;
    while (cnt--)
    {
        std::string str;
        std::getline(std::cin, str);
        write(fd, str.c_str(), str.size());
    }
    close(fd);

    return 0;
}